<%@ page language="java" contentType="text/html; charset=utf-8"
         pageEncoding="utf-8"%>
<%@ taglib uri="http://shiro.apache.org/tags" prefix="shiro" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <link rel="stylesheet" type="text/css"
          href="easyui/themes/bootstrap/easyui.css">
    <link rel="stylesheet" type="text/css" href="easyui/themes/icon.css">

    <link rel="stylesheet" type="text/css" href="easyui/demo/demo.css">
    <script type="text/javascript" src="easyui/jquery.min.js"></script>
    <script type="text/javascript" src="easyui/jquery.easyui.min.js"></script>

    <script type="text/javascript" src="easyui/locale/easyui-lang-zh_CN.js"></script>
    <link rel="stylesheet" type="text/css" href="plugins/font-awesome/css/font-awesome.min.css">
    <script type="text/javascript" src="myjs/pandian.js"></script>
    <script type="text/javascript" src="myjs/path.js"></script>
    <script src="js/yangshi.js"></script>

    <style type="text/css">
        .list{
            list-style: none;
            margin-top: 20px;
        }
        .list li{
            margin-top: 10px;
        }
        .list li:hover{
            background-color: #ccc
        }
        .list a{
            text-decoration: none;
            color: black;
        }
        .dqxzhjl{
            background-color: #20B2AA;
        }
    </style>

</head>
<body class="easyui-layout">
<shiro:lacksPermission name="store:pandian">您没有盘点的权限。。。</shiro:lacksPermission>

<shiro:hasPermission name="store:pandian">

    <div data-options="region:'west',split:true,title:'<i class=\'fa fa-bar-chart\' aria-hidden=\'true\'></i> 盘点',width:200" >

        <a href="#" class="easyui-linkbutton"  onclick="confirm1()" data-options="plain:true" > <i class='fa fa-plus fa-1.5x' aria-hidden='true' ></i> <span style="font-size:15px"><strong>开启新盘点</strong></span></a>
        <ul class="list"></ul>
    </div>
    <div data-options="region:'center',split:true" title="操作区" style="width:88%;">
        <table id='dg' class="easyui-datagrid"></table>

        <div id="tb" style="padding: 5px; height: auto">

            <div id="headDiv">
                <strong></strong> <input id="storename"
                                         style="width: 150px; border-radius: 6px" placeholder="键入名称/款号/编号"></input>
                <span title="按Enter进行快捷搜索" class="easyui-tooltip"  data-options="position: 'top'"><a id="btn" href="#" class="easyui-linkbutton"
                                                                                                     iconCls="icon-search" onclick="unMethod(alreadypdid)">搜索</a></span>
                | <span title="结束本次盘点" class="easyui-tooltip"
                        data-options="position: 'top'"><a id='end' href="#" class="easyui-linkbutton" iconCls="icon-save" plain="true" onclick="end(endPandianObj)">结束盘点</a></span>
                | 盘点日期： <span id='stime'></span>  至   <span id='endtime'></span> | <span id='msg'> </span>
            </div>
        </div>
    </div>


    <input id='jgid' value="<%=request.getParameter("jgid")%>">
    <input id='userid' type="hidden"
           value="<%=request.getParameter("userid")%>">
    <input id='userName' type="hidden"
           value="<%=request.getParameter("userName")%>">

</shiro:hasPermission>
</body>
</html>